package com.zzh.demo.provider2;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * 描述： <br>
 * 创建时间: 2017年12月12日 下午2:44:14 <br>
 *
 * @author 张雪茹
 */
@EnableEurekaClient
@EnableDiscoveryClient
@EnableFeignClients
@SpringBootApplication(exclude= DataSourceAutoConfiguration.class)
@ComponentScan
@ServletComponentScan
public class Provider2Application {
    public static void main(String[] args) {
        SpringApplication.run(Provider2Application.class);
    }
}
